package com.example.service;

import com.example.entity.Tag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.utils.ResponseResult;

import java.util.List;

/**
* @author sprite-pc
* @description 针对表【sg_tag(标签)】的数据库操作Service
* @createDate 2023-12-31 17:56:55
*/
public interface TagService extends IService<Tag> {

    List<Tag> listAllTag();

    ResponseResult getList(int pageNum, int pageSize, String name);

    ResponseResult saveTag(Tag tag);
}
